package org.meetunexpectedly.entity.user;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 关注粉丝表
 * @Author: pupil
 * @Date: 2024/08/11 下午 9:07
 */
@Data
public class Follow implements Serializable {

    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    // 关注id
    private Long followId;

    // 粉丝id
    private Long userId;

    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreated;
}
